<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<%String path = request.getContextPath();%>
		<meta charset="UTF-8">
		<title>login</title>
		<link rel="stylesheet" href="<%=path %>/webstatic/css/bootstrap.min.css" />
		<script type="text/javascript" src="<%=path %>/webstatic/js/jquery-1.12.1.min.js" ></script>
		<script type="text/javascript" src="<%=path %>/webstatic/js/bootstrap.min.js" ></script>
		<script type="text/javascript">
				
		</script>
	</head>
	<body>
		<div class="container">
			<h1 class="page-header">登陆</h1>
			<form class="form-horizontal" action="<%=path %>/ssoAuth/doLogin">
				<input type="hidden" name="serviceUrl"  value="${serviceUrl}">
				<input type="hidden" name="authUrl"  value="${authUrl}"> 
				<div class="col-md-5">
					<div class="form-group">
						<label>用户名:</label>
						<input type="text" class="form-control" name="username"  placeholder="邮箱/手机号"/>
					</div>
					<div class="form-group">
						<label>密码:</label>
						<input type="password" class="form-control"  name="password"  placeholder="密码" />
					</div>
					<div id="loginWarningDiv">${loginWarningDiv }</div>
					<div class="form-group">
						<button class="btn btn-primary">提交</button>					
					</div>
				</div>
			</form>
		</div>
	</body>
	
	<div>${loginResult}</div>
</html>